<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Page_model extends CI_Model{
	
	var	$table_page				=	"page";

	
	function __construct(){
        parent::__construct(); 
    }
    
    function get_page($name){
    	$page	=	$this->db->select()
    						 ->where('name_ascii', $name)
    						 ->get($this->table_page)
    						 ->row_array();
    	if(!empty($page)){
    		return $page;
    	}
    	return false;
    }
    
}
/* End of file page_model.php */
/* Location: ./application/models/page_model.php */